package io.xccit.train.model.member.enums;

/**
 * @author CH_ywx
 * @version 1.0
 * @create 2024/11/12
 * <p>乘客类型枚举</p>
 */
public enum PassengerTypeEnum {
    ADULT(1,"成人"),
    CHILDREN(2,"儿童"),
    Student(3,"学生"),
    BABY(4,"婴儿");

    private Integer code;
    private String comment;

    PassengerTypeEnum(Integer code, String comment) {
        this.code = code;
        this.comment = comment;
    }

    public Integer getCode() {
        return code;
    }

    public String getComment() {
        return comment;
    }
}
